﻿@model DFYE.Web.Models.manageUser

@{
    ViewBag.Title = "员工管理";
}

<h2>员工管理</h2>

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>新建用户</legend>
        <div class="editor-label">
            登录名
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.loginname)
            @Html.ValidationMessageFor(model => model.loginname)
        </div>
        <div class="editor-label">
           姓名
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.username)
            @Html.ValidationMessageFor(model => model.username)
        </div>
        <div class="editor-label">
            可用
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.able)
            @Html.ValidationMessageFor(model => model.able)
        </div>
        <p>
            <input type="submit" value="新建" class="submitBtn" /> 注：新建用户的密码为 123456，请及时更改 
        </p>
    </fieldset>
}
<div>
    @Html.ActionLink("回列表", "Index")
</div>

